使用applescript将"Numbers“工作表另存为PDF 您所在的位置:网站首页 numbers 另存为 使用applescript将"Numbers“工作表另存为PDF

使用applescript将"Numbers“工作表另存为PDF

2024-07-16 17:29| 来源: 网络整理| 查看: 265

我声明我不是程序员,也没有使用applescript的经验。我尝试使用applescripts服务将"Numbers“表保存为PDF,因为我想在需要时启动保存过程。

代码语言:javascript复制enter code here activate application "Numbers" tell application "System Events" tell process "Numbers" keystroke "p" using command down delay 0.2 keystroke "p" using command down delay 0.2 end tell end tell

在按键"p“命令后,我必须选择弹出的下拉按钮"pdf”,并选择“另存为PDF”选项。我该怎么做呢?

pdf button

然后,我需要在下一个弹出窗口中将变量"nameFile“的值作为要保存的文件的名称。

另外,对于这一步,我不知道该如何继续...



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有